Web API Core | ComponentOne
Microsoft.AspNetCore.Builder Namespace / DataProviderManagerExtensions Class / AddItemsSource Method / AddItemsSource(DataProviderManager,String,Func<IEnumerable>) Method
The C1.Web.Api.Data.DataProviderManager.
The key.
The delegate of getting data source.

In This Topic
    AddItemsSource(DataProviderManager,String,Func<IEnumerable>) Method
    In This Topic
    Add an C1.Web.Api.Data.ItemsSourceDataProvider with key and items getter.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Overloads Shared Function AddItemsSource( _
       ByVal manager As DataProviderManager, _
       ByVal key As String, _
       ByVal itemsGetter As Func(Of IEnumerable) _
    ) As DataProviderManager

    Parameters

    manager
    The C1.Web.Api.Data.DataProviderManager.
    key
    The key.
    itemsGetter
    The delegate of getting data source.

    Return Value

    See Also